package main

import (
	"fmt"
)

func main() {

	values := [][]int{}

	b := [2][2]string{}
	b[0][0] = "Google"
	b[0][1] = "Runoob"
	b[1][0] = "Taobao"
	b[1][1] = "Weibo"

	row1 := []int{1, 2, 3}
	row2 := []int{4, 5, 6}

	// append添加元素，将一维数组添加到二维数组中
	values = append(values, row1)
	values = append(values, row2)

	fmt.Println("values", values)

	a := [3][4]int{
		{0, 1, 2, 3},
		{4, 5, 6, 7},
		{7, 8, 9, 10},
	}

	fmt.Println("a=", a)

}
